import { ajax } from '../http.js';

const storeDetailUrl = '/authc/business/find_store_detail'; // 查询到店付详情
const storeMoneyUrl = '/authc/business/find_store_money'; // 查询到店付金额

const storeDetail = (data, success, fail) => { // 查询到店付详情
  ajax({
    url: storeDetailUrl,
    data: data,
    success: success,
    fail: fail
  });
};

const storeMoney = (data, success, fail) => { // 查询到店付金额
  ajax({
    url: storeMoneyUrl,
    data: data,
    success: success,
    fail: fail
  });
};

export {
  storeDetail, // 查询到店付详情
  storeMoney // 查询到店付金额
}